//vue
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//axios
import './plugins/axios'
//element-ui
import './plugins/element.js'
//echarts
import * as echarts from 'echarts';
//jquery
import $ from 'jquery'

//加载jQuery
window.jQuery = $;
window.$ = $;
//加载echarts
Vue.prototype.$echarts = echarts
//阻止启动生产消息
Vue.config.productionTip = false
//配置是否允许 vue-devtools 检查代码
Vue.config.devtools = true
Vue.prototype.$base_url = 'http://localhost:8181/';


new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this //安装全局事件总线
  },
}).$mount('#app')
